﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using dtu_lan_winRT_app.Model;


namespace dtu_lan_winRT_app.Model.Users
{
    public class Participant
    {
        public string ID { get; private set; }
        public string Name { get; private set; }
        public string IDNumber { get; private set; }
        public MailAdress EmailAdress { get; set; }
        public Phone PhoneNumber { get; set; }
        public string type { get; private set; }
        public List<Payment> Payments { get; set; }

        public Participant(string id, string name, string idNumber, MailAdress emailAdress, Phone phoneNumber, string type)
        {
            this.ID = id;
            this.Name = name;
            this.IDNumber = idNumber;
            this.EmailAdress = emailAdress;
            this.PhoneNumber = phoneNumber;
            this.type = type;
        }
    }

    public class CrewMember : Participant
    {
        public CrewMember(string id, string name, string idNumber, MailAdress emailAdress, Phone phoneNumber, string type)
            : base(id, name, idNumber, emailAdress, phoneNumber, type)
        {

        }
    }

}
